<template>
  <div class="container">
    <p><slot></slot></p>
    <div>children</div>
    <p>
      <slot name="title">具名插槽</slot>
    </p>
    <p>
      <slot name="go" :user="user">{{ user.fname }}</slot>
    </p>

  </div>
</template>

<script>
    export default {
          name: "Fst07",
          data(){
            return{
              user:{
                fname:"okks"
              }
            }
          }
    }

</script>

<style scoped>

</style>